<template>
  <div ref="rulesDiv" >
  <div class="rule-img"><img src="../../../assets/success.png" alt="">
    <p class="rule-title">签到领取逆袭豆</p>
  </div>
  <div class="sign-rules">
    <p>签到领取逆袭豆，通过消耗逆袭豆可观看付费视频。</p>
    <p> 首日签到可领取1颗逆袭豆，连续签到每日递增1颗。连续签到5天后，逆袭豆每日可领取5颗。</p>
    <p>签到中断逆袭豆可要重新计算呦~</p>
  </div>
  </div>
</template>

<script>
  export default {
    name: "SignRules"
  }
</script>

<style scoped>

  .sign-rules {
    position: relative;
    width: 35vw;
    height: 35vw;
    margin: -7rem auto 2rem auto;
    padding: .2rem .4rem 0 .4rem;
    border: 0.01rem solid #797979;
    background:#bcbcbc;
  }
  .sign-rules p {
    line-height: .6rem;
    font-size: 15px;
    font-weight: bold;
    text-indent: .3rem;
    color: white;
  }
  .sign-rules p:first-child{
    margin-top: .2rem;
  }
  .rule-img{
    position: absolute;
    top:6rem;
    left: 3.5rem;
    width: 45vw;
    height: 1.5rem;
    margin: 0 auto;
    text-align: center;
    border-radius: .2rem;
    background: #fcd300;
    z-index: 4;
  }
  .rule-img img{
    width: 100%;
    height: 100%;
  }
  .rule-title{
    margin-top: -1rem;
    font-size: 16px;
    font-weight: bold;
    color: white;

  }
</style>
